package com.it.zhangjun.effective;

import java.util.ArrayList;
import java.util.List;

/**
 * @author jun.zhang6
 * @date 2021/4/12
 */
public class SupperTest<E> {
    public static void main(String[] args) {

        List<String> stringArrayList = new ArrayList<String>();
        List<Integer> integerArrayList = new ArrayList<Integer>();

        Class classStringArrayList = stringArrayList.getClass();
        Class classIntegerArrayList = integerArrayList.getClass();

        if (classStringArrayList.equals(classIntegerArrayList)) {
            System.out.println(222);
        }
    }


    class Human {

    }

    class Father extends Human {

    }

    class Son extends Father {

    }

    class LeiFeng extends Father {

    }

}
